package com.uniview.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.uniview.dao.MailConfigDao;
import com.uniview.entity.po.MailConfig;
import com.uniview.service.MailConfigService;

@Service("mailConfigService")
public class MailConfigServiceImpl implements MailConfigService {

	@Autowired
	private MailConfigDao mailConfigDao;
	
	
	@Override
	public List<MailConfig> findAllMailConfig() {
		try {
			return mailConfigDao.findAll();
		} catch (Exception e) {
			e.printStackTrace();
		}
		return null;
	}

}
